from re import S, T
from numpy import square
from manimlib import *
#75cfb8
#bbdfc8
#f0e5d8
#ffc478
class p1(Scene):
    def construct(self):
        # self.add(NumberPlane())
        frame = self.camera.frame
        # self.play(frame.animate.set_width(16))
        b=Square(2)
        a=Square(2).next_to(b,LEFT,buff=0)
        c=Square(2).next_to(b,RIGHT,buff=0)
        d=Square(2).next_to(c,RIGHT,buff=0)
        e=Square(2).next_to(b,UP,buff=0)
        f=Square(2).next_to(b,DOWN,buff=0)
        self.add(a,b,c,d,e,f,Tex('a').move_to(a),Tex('b').move_to(b),Tex('c').move_to(c),Tex('d').move_to(d),Tex('e').move_to(e),Tex('f').move_to(f))
        self.wait()
class p2(Scene):
    def construct(self):
        # self.add(NumberPlane())
        frame = self.camera.frame
        # self.play(frame.animate.set_width(16))
        b=Square(2)
        a=Square(2).next_to(b,LEFT,buff=0)
        c=Square(2).next_to(b,RIGHT,buff=0)
        d=Square(2).next_to(c,RIGHT,buff=0)
        e=Square(2).next_to(b,UP,buff=0).set_color('#75cfb8')
        f=Square(2).next_to(b,DOWN,buff=0).set_color('#75cfb8')
        self.add(a,b,c,d,e,f,Tex('a').move_to(a),Tex('b').move_to(b),Tex('c').move_to(c),Tex('d').move_to(d),Tex('e').move_to(e),Tex('f').move_to(f))
        self.wait()
